class PayTypeEnum {
  final String title;
  final String paymentCode;

  const PayTypeEnum(this.title, this.paymentCode);

  static const MobilPay = PayTypeEnum("移动支付", "mobilepayment");
  static const Card = PayTypeEnum("储值卡", "balancepay");
  static const Cash = PayTypeEnum("现金", "cashpay");
  static const Bank = PayTypeEnum("银行卡", "bankcard");
  static const Custom = PayTypeEnum("自定义", "custompay");
  static const MIX = PayTypeEnum("混合支付", "mixpay");
  static const DYP = PayTypeEnum("抖音支付", "douyinpay");
  static const FACE = PayTypeEnum("刷脸支付", "facepay");
  static const BANKTRANSFER = PayTypeEnum("银行转账", "banktransfer");

  @override
  String toString() {
    return 'PayTypeEnum{title: $title, paymentCode: $paymentCode}';
  }
}
